from django.contrib import admin

# Register your models here.
from .models import DemoTable


class DemoTableAdmin(admin.ModelAdmin):
    list_display = [
        "account", "code", "code_name", "buy_date", "my_price", "num", "hold_money", "close_price", "my_rate",
        "my_cash", "max_price", "max_rate", "min_price", "min_rate", "die_max_rate", "die_max_price", "die_min_rate",
        "die_min_price", "flag", "is_die", "die_date", "interval_date"
    ]


admin.site.register(DemoTable, DemoTableAdmin)
